﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace MechServer.Objects.Units
{
	public abstract class BaseUnit : MechServer.Objects.BaseObject
	{
		public BaseUnit() : base()
		{
			BaseObjectType = MechServer.Objects.Enums.Category.Unit;
		}

		protected Enums.Category			_baseUnitType;
		protected Structs.Location			_unitLocation;
		protected Enums.LocationContext	_unitLocationContext;

		#region Properties

		public Enums.Category BaseUnitType
		{
			get
			{
				return _baseUnitType;
			}
			set
			{
				_baseUnitType = value;
			}
		}

		public Structs.Location UnitLocation
		{
			get
			{
				return _unitLocation;
			}
			set
			{
				_unitLocation = value;
			}
		}

		public Enums.LocationContext UnitLocationContext
		{
			get
			{
				return _unitLocationContext;
			}
			set
			{
				_unitLocationContext = value;
			}

		}

		#endregion
	}
}
